package jp.dev7.enchant.tot.controller.test;

import java.util.Random;

import jp.dev7.enchant.tot.controller.AbsJsonpController;
import jp.dev7.enchant.tot.model.test.Foo;

public class JsonpController extends AbsJsonpController {

    private Random rnd = new Random(System.currentTimeMillis());

    @Override
    protected Object exec() {
        Foo result = new Foo();
        result.setX(rnd.nextInt(320));
        result.setY(rnd.nextInt(320));
        return result;
    }
}
